package com.indexingsystem.system.service;

import java.util.List;

import com.indexingsystem.boss.Vo.TasksIdVo;
import com.indexingsystem.boss.Vo.TasksQueryVo;
import com.indexingsystem.boss.Vo.TasksVo;
import com.indexingsystem.boss.common.PagedResult;
import com.indexingsystem.boss.entity.Tasks;

public interface ITasksService {
	
	int deleteByPrimaryKey(String id) throws Exception;
	
	int deleteByIdBatch(List<String> ids) throws Exception;

    int insert(Tasks record) throws Exception;

    int insertSelective(Tasks record) throws Exception;

    Tasks selectByPrimaryKey(String id);
    
    Tasks selectTaskName(String name);
    
    PagedResult<TasksVo> selectTasksList(TasksQueryVo tasksVo);
    
    PagedResult<TasksVo> selectTasksList(Integer pageNo, Integer pageSize);
    
    int updateByPrimaryKeySelective(Tasks record) throws Exception;

    int updateByPrimaryKey(Tasks record) throws Exception;
    
    int updateStatusByPrimaryKey(TasksIdVo taskIdVo) throws Exception;
    
	Integer getTasksListCount(TasksQueryVo tasksVo);	
	
	List<Tasks> findList();
}